package com.platform.common.dao;

import org.apache.ibatis.annotations.Mapper;

import com.platform.common.entity.SysRegionEntity;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2017-11-04 11:19:31
 */
@Mapper
@Repository
public interface SysRegionDao{ //} extends BaseDao<SysRegionEntity> {
    int save(SysRegionEntity t);
    void save(Map<String, Object> map);
    void saveBatch(List<SysRegionEntity> list);
    int update(SysRegionEntity t);
    int update(Map<String, Object> map);
    int delete(Object id);
    int delete(Map<String, Object> map);
    int deleteBatch(Object[] id);
    SysRegionEntity queryObject(Object id);
    List<SysRegionEntity> queryList(Map<String, Object> map);
    List<SysRegionEntity> queryList(Object id);
    int queryTotal(Map<String, Object> map);
    int queryTotal();
}
